home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 045a / tpapi1.zip / NWFSERV.PA1 < prev    next >
Text File  |  1991-12-04  |  3KB  |  69 lines

  1. {!R! FONT 15; FTMD 15; EXIT;}
  2.  
  3.  
  4. {***************************************************************************}
  5. {** Program : NWFSERV                                                     **}
  6. {***************************************************************************}
  7. {** Version : 1.0b            ** Started : 11/11/91  ** ENDed :   /  /    **}
  8. {***************************************************************************}
  9. {******************************** Description ******************************}
  10. {***************************************************************************}
  11. {** OOP library for Netware API                                           **}
  12. {**                                                                       **}
  13. {** This unit forms the second level object : FSERV                       **}
  14. {** This object is a descandent of          : NETWARE                     **}
  15. {**                                                                       **}
  16. {**                                                                       **}
  17. {**                                                                       **}
  18. {**                                                                       **}
  19. {***************************************************************************}
  20. {******************************** Information ******************************}
  21. {***************************************************************************}
  22. {**                                                                       **}
  23. {**                                                                       **}
  24. {**                                                                       **}
  25. {**                                                                       **}
  26. {** This code is (c) 1991 Tony Covelli,                                   **}
  27. {** Portions (c) Novell Inc,                                              **}
  28. {**                                                                       **}
  29. {**                                                                       **}
  30. {***************************************************************************}
  31.  
  32. {$I NETWARE.INC}
  33.  
  34. UNIT NWFSERV;
  35.  
  36. INTERFACE
  37.  
  38. USES
  39.  
  40.   netware, nwvar;
  41.  
  42. TYPE
  43.  
  44.   pFServOBJ = ^FServOBJ;
  45.   FServOBJ  = object (NetwareOBJ)
  46.  
  47.     constructor Init;
  48.  
  49.     FUNCTION    EraseFiles                (DirectoryHandle : BYTE; DirectoryPath : PathNameType;
  50.                                            SearchAttributes : BYTE) : WORD;
  51.  
  52.     FUNCTION    PurgeAllErasedFiles : WORD;
  53.  
  54.     FUNCTION    PurgeErasedFiles : WORD;
  55.  
  56.     FUNCTION    RestoreErasedFile         (DirectoryHandle : BYTE; VolumeName : VolumeNameType;
  57.                                            VAR ErasedFileName, RestoredFileName : FileNameType) : WORD;
  58.  
  59.     FUNCTION    ScanFileInformation       (DirectoryHandle : BYTE; FilePath : PathNameType; SearchAttributes : BYTE;
  60.                                            VAR SequenceNumber : INTEGER; VAR FileName : FileNameType;
  61.                                            VAR FileAttributes, ExtendedFileAttributes : BYTE; VAR FILESIZE : LONGINT;
  62.                                            VAR CreationDate, LastAccessDate : WORD; VAR LastUpdateDateAndTime,
  63.                                            LastArchiveDateAndTime : LONGINT; VAR FileOwnerID : OT_BinderyID) : WORD;
  64.  
  65.     destructor  Done; virtual;
  66.  
  67.   END;
  68.  
  69.